<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo ($title); ?></title>
<script type="text/javascript" src="../Public/js/jq.js"></script>
<link rel="stylesheet" type="text/css" href="../Public/css/common.css" />
<script>
$().ready(function(){
	$('#sel').attr('value','<?php echo $_GET["schoolid"];?>');	
})


</script>
</head>
<body>

<form action = "__URL__/saveSCItem/" method="post" >
<table border="1">
<caption><?php echo ($caption); ?></caption>
<tr><td>所在院校：</td><td><select name="schoolid" id="sel" ><option value="-1">请选择所在的院校</option>
<?php if(is_array($schoollist)): $i = 0; $__LIST__ = $schoollist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($vo["id"]); ?>"><?php echo ($vo["title"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
</select></td></tr>
<?php if(isset($cnt)): ?><input type="hidden" value="<?php echo ($cnt["id"]); ?>" name="id" /><?php endif; ?>
<tr><td>标题：</td><td><input type="text" name="title" value="<?php echo ($cnt["title"]); ?>"/></td></tr>
<tr><td>内容：</td><td><?php echo ($html); ?></td></tr>
<tr><td>点击量：</td><td><input type="text" name="clickcount" /></td></tr>
</table>
<input type="hidden" name="type" value="<?php echo $_GET["type"];?>" />
<p><input type="submit" value="添加" /><input type="reset" value="重置" /></p>
</form>
</body>
</html>